import request from '@/utils/request'

// 查询申报填报列表
export function listAppSubmit(query) {
  return request({
    url: '/system/appSubmit/list',
    method: 'get',
    params: query
  })
}

// 查询申报填报详细
export function getAppSubmit(id) {
  return request({
    url: '/system/appSubmit/' + id,
    method: 'get'
  })
}

// 新增申报填报
export function addAppSubmit(data) {
  return request({
    url: '/system/appSubmit',
    method: 'post',
    data: data
  })
}

// 修改申报填报
export function updateAppSubmit(data) {
  return request({
    url: '/system/appSubmit',
    method: 'put',
    data: data
  })
}

// 删除申报填报
export function delAppSubmit(id) {
  return request({
    url: '/system/appSubmit/' + id,
    method: 'delete'
  })
}
